home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Chip 2007 January, February, March & April
/
Chip-Cover-CD-2007-04d.zip
/
04d
/
Hity z okladki
/
Plus Firma
/
Plus Firma 5.5.1.msi
/
Binary.NewBinary22
< prev
next >
Wrap
Text File
|
2007-02-14
|
947b
|
44 lines
Dim test, objShell, key5, key6,pos, adobeInstalled
On Error Resume Next
adobeInstalled = False
Set objShell= CreateObject("WScript.Shell")
'# rejestracja na www
'crm++rules ! objShell.Run("http://www.sonect.pl/new_user.xml")
'#
key5 = "HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader\5.0\InstallPath\"
test = objShell.RegRead(key5)
pos = InStr(test, "Reader")
if pos = 0 then
adobeInstalled = False
else
adobeInstalled = True
end if
key6 = "HKEY_LOCAL_MACHINE\SOFTWARE\Adobe\Acrobat Reader\6.0\InstallPath\"
test = objShell.RegRead(key6)
pos = InStr(test, "Reader")
if pos = 0 then
adobeInstalled = False
else
adobeInstalled = True
end if
if adobeInstalled then
'Session.Property("READER")=True
'MsgBox "Adobe Reader jest zainstalowany"
else
'Session.Property("READER")=False
'MsgBox "Adobe Reader jest nie zainstalowany"
ObjShell.Run("..\AdobeRdr\arce505pol.exe")
end if